﻿define(function (require, exports, module) {
    //require.async("b", function (b) {
    //    exports.c = function () {
    //        b.print("call b.js print method use exports.c method from c.js");
    //    };

    //    module.exports = {
    //        print: function () {
    //            alert("call c.js");
    //        }
    //    };
    //});

    var b = require("bb");

    module.exports = {
        c: function () {
            b.print("call b.js print method use exports.c method from c.js");
        },
        print: function () {
            b.b();
            alert("call c.js");
        }
    };

    //exports.c = function () {
    //    b.print("call b.js print method use exports.c method from c.js");
    //};

    //module.exports = {
    //    print: function () {
    //        alert("call c.js");
    //    }
    //};


    //module.exports = {
    //    print: function () {
    //        alert("call c.js");
    //    }
    //};
});